package com.hz.dao;

import com.hz.pojo.Typeofclothing;
import org.springframework.stereotype.Repository;
import sun.rmi.runtime.Log;

import java.util.List;
@Repository
public interface TypeofclothingDao {
    /**
     * 获取所有衣物类型
     * @return
     * @throws Exception
     */
    public abstract List<Typeofclothing> getAllTypeofclothing() throws Exception;

    /**
     * 根据衣物类型id获取当条衣物信息
     * @param dry_id
     * @return
     * @throws Exception
     */
    public abstract Typeofclothing getTypeofclothing(Long dry_id) throws Exception;

}
